package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.pojo.HealthinterventionMeallibrary;
import com.zj.healthmanage.mapper.HealthinterventionMeallibraryMapper;
import com.zj.healthmanage.service.HealthinterventionMeallibraryService;
@Service
public class HealthinterventionMeallibraryServiceImpl implements HealthinterventionMeallibraryService{

    @Resource
    private HealthinterventionMeallibraryMapper healthinterventionMeallibraryMapper;

    @Override
    public int deleteByPrimaryKey(Integer healthinterventionId,Integer meallibraryId) {
        return healthinterventionMeallibraryMapper.deleteByPrimaryKey(healthinterventionId,meallibraryId);
    }

    @Override
    public int insert(HealthinterventionMeallibrary record) {
        return healthinterventionMeallibraryMapper.insert(record);
    }

    @Override
    public int insertSelective(HealthinterventionMeallibrary record) {
        return healthinterventionMeallibraryMapper.insertSelective(record);
    }

}
